
package app.page
{
	import app.base.PageBase;
	
//	import com.shine.crypt.UIList;
//	import com.shine.events.CarryEvent;
//	import com.shine.plex.QuickBuild;
//	import com.shine.ui.LabelButton;
//	
//	import flash.events.Event;
//	import flash.geom.Rectangle;
//	
//	import org.mini.core.SiteStructure;
    
	
	public class Index extends PageBase
	{
//		public var label:String="Index label = Site";
		
		public function Index()
		{
			super();
		}
		
		override public function initialize():void
		{
			trace("Index page initialized.");
			super.initialize();
			
//			var list:Array=[{name:"Home",url:"nike/index/main"},{name:"Manifesto",url:"nike/index/manifesto"},{name:"Map",url:"nike/index/map"}];
//		    var uilist:UIList=new UIList();
//			uilist.rect=new Rectangle(10,10);
//			
//			for each(var obj:Object in list){
//				var btn:LabelButton=QuickBuild.createButton(obj.name,0,0xFFF888,0xFFF000,onClick);
//				btn.baby=obj.url;
//				uilist.push(btn);
//				addChild(btn);
//			}
//			
//			uilist.row(1,10);
//		}
//		
//		private function onClick(e:Event):void
//		{
//			SiteStructure.goTo((e.currentTarget as LabelButton).baby);
		}
		
		override protected function resize(w:uint,h:uint):void
		{
			
		}
		
		override public function dispose():void
		{
			super.dispose();
		}
	}
}